| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Cursor.h
1 // Cursor.h
3 //
5
6 namespace nkWinUi
7 {
11 class Cursor
12 {
13 public :
14
18 virtual ~Cursor () ;
19
20 // Getters
24 nkMemory::StringView getName () const ;
25
26 // Setters
30 void setName (nkMemory::StringView value) ;
31
32 // Load
36 virtual bool load () = 0 ;
40 virtual void unload () = 0 ;
41
42 // Activation
46 virtual void activate () = 0 ;
50 virtual void deactivate () = 0 ;
51
52 public :
53
54 // Statics
62 static nkMemory::UniquePtr<Cursor> create (System* system = nullptr) ;
63 } ;
64 }
nkWinUi::Cursor::setName
void setName(nkMemory::StringView value)
nkWinUi::Cursor::~Cursor
virtual ~Cursor()
nkWinUi::System
The main system of the component.
Definition: System.h:18
nkWinUi::Cursor::getName
nkMemory::StringView getName() const
nkWinUi::Cursor::unload
virtual void unload()=0
nkMemory::UniquePtr
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
nkWinUi::Cursor::deactivate
virtual void deactivate()=0
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkWinUi::Cursor::activate
virtual void activate()=0
nkWinUi::Cursor::load
virtual bool load()=0
nkWinUi::Cursor::create
static nkMemory::UniquePtr< Cursor > create(System *system=nullptr)
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkWinUi::Cursor
WIP.
Definition: Cursor.h:12